# maven本地仓库地址
REPOSITORY_PATH=/Users/ben/.m2/repository/
echo 正在搜索...
find $REPOSITORY_PATH -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
echo 清理完毕